﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace HA.ModFlow.Application
{
   public class Scatter2dTVM:HViewModel
    {
       public Scatter2dTVM()
       {
 
       }


       SCATTER2DTOOLS _tool;

       public SCATTER2DTOOLS Tool
       {
           get { return _tool; }
           set { _tool = value;
           this.OnPropertyChanged("IsAdd");
           this.OnPropertyChanged("IsSelect");
           
           }
       }

       bool _isSelect;

       public bool IsSelect
       {
           get
           {
               if (this.Tool == SCATTER2DTOOLS.SELECT)
               {
                   return true;
               }
               else
               {
                   return false;
               }
           }
           set
           {
               this.Tool = SCATTER2DTOOLS.SELECT;
           
           }
       }
       bool _isAdd;

       public bool IsAdd
       {
           get
           {
               if (this.Tool == SCATTER2DTOOLS.ADD)
               {
                   return true;
               }
               else
               {
                   return false;
               }
           }
           set
           {
               this.Tool = SCATTER2DTOOLS.ADD;
            
           }
       }
       


    }
}
